<?php /* Smarty version Smarty-3.1.16, created on 2014-01-17 11:09:48
         compiled from "D:\CI\system_file\application\admin\views\ajax\ajax.tpl" */ ?>
<?php /*%%SmartyHeaderCode:510752d9011721fed6-17681066%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '494b5c296cc34e0894e4720b0409e01d60bfd055' => 
    array (
      0 => 'D:\\CI\\system_file\\application\\admin\\views\\ajax\\ajax.tpl',
      1 => 1389953374,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '510752d9011721fed6-17681066',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.16',
  'unifunc' => 'content_52d90117277728_48917775',
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_52d90117277728_48917775')) {function content_52d90117277728_48917775($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('../template/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

	<button type='button' id='ajax'>Test ajax</button>
	<div id='result'></div>
	<script type='text/javascript'>
		$('document').ready(function(){
			$('#ajax').click(function(){
				$.ajax({
					url:'/ajax/ajax',
					method:'POST',					
					success:function(data){
						$('#result').html(data);
					}
				});
			});
		});
	</script>
<?php echo $_smarty_tpl->getSubTemplate ('../template/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
